package com.vshop.entity.newpojo.response.subResponse.common;

import lombok.Getter;
import lombok.Setter;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@Setter
@Getter
@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "page")
public class Page {
    /*总页数*/

    @XmlElement(name = "total_pages")
    private int totalPages;

    /*当前页数*/

    @XmlElement(name = "cur_page_no")
    private int currentPageNo;

    /* 总数量 */

    @XmlElement(name = "total_count")
    private int totalCount;

    /*页大小*/

    @XmlElement(name = "page_size")
    private int pageSize;


}
